import 'package:enterprise_v6_app/app/components/custom_app_bar.dart';
import 'package:enterprise_v6_app/app/core/core.dart';

/// 无权限时页面显示
class NoPermissionsWidget extends StatelessWidget {
  const NoPermissionsWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: CustomAppBar(
          titleText: '暂无权限',
          showAlarmButton: false,
        ),
        body: Container(
          color: const Color(0xffF5F5F6),
          alignment: Alignment.center,
          child: Text(
            '-- 请通知管理员分配菜单权限 --',
            style: TextStyle(
              fontSize: 14.w,
              height: 1.2,
              color: const Color(0xff4D5956),
              fontWeight: FontWeight.w400,
            ),
          ),
        ));
  }
}
